<?php
include("../configuration.php");
require("./installfuncs.php"); // for the sql import
$sqlcon1 = mysql_connect($sqlserver,$sqluser,$sqlpassword);
mysql_select_db($sqldb) or die(mysql_error());
if($sqlcon1){
mysql_install_db($sqldb,"install.sql",$errmsg);
?>
<body bgcolor="#eeeeee">
<font face="arial black" size="10" color="green">
<center>
CONGRATULATIONS!!!!! 
</font></center>
<?php mysql_close($sqlcon1); ?>
<br><br>
<font face="arial" size="3">

Well, it worked! Congratulations! </font>
<?php 
echo '<meta http-equiv="refresh" content="3;url=../index.php">';
} else{
?>

<font face="arial" size="5">
<br>
Looks like there was a problem. Go back, check your settings, and try again.
</font>
<?php 
} 
?>
